package com.okaixz.client.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * APP 更新用户信息前端传过来的参数
 * </p>
 *
 * @author cdz
 * @since 2024-10-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="User对象", description="APP用户信息表")
public class UpdateUserDto implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "用户id")
    private String userId;
    @ApiModelProperty(value = "用户名")
    private String nickName;

//    @ApiModelProperty(value = "密码,md5加密")
//    private String password;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "头像")
    private String image;

    @ApiModelProperty(value = "0 男1 女2 未知")
    private Integer sex;

}
